package com.jiazhong.example.project.bookstore.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiazhong.example.project.bookstore.commons.bean.Discount;
import com.jiazhong.example.project.bookstore.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface DiscountService extends IService<Discount> {

    JsonResult saveOrUpdateDiscount(Discount discount,String token);

    JsonResult findDiscountByBookId(String bookId);
}
